import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    redirect:'/home'
  },
  {
    path:'/home',
    component: ()=> import('../components/Home/home.vue')
  },
  {
    path:'/travelStrategy',
    component: ()=> import('../components/travelStrategy')
  },
  {
    path:'/location',
    // component: ()=> import('../components/h1.vue')
  },
  {
    path:'/shop',
    // component: ()=> import('../components/h1.vue')
  },
  {
    path:'/hotNews',
    // component: ()=> import('../components/h1.vue')
  },
  {
    path:'/connectUs',
    // component: ()=> import('../components/h1.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
